package com.kk.mediator.smarthouse;

/**
 * 中介者对象抽象类
 *
 * @author o_o
 * @date 2022-06-16
 */
public abstract class Mediator {

    public abstract void register(String colleageName, Colleague colleage);

    /**
     * 中介者核心方法
     *
     * @param stateChange
     * @param colleageName
     */
    public abstract void getMessage(int stateChange, String colleageName);

}
